package com.ruoyi.vo;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author:zzm
 * @Date: 2024/10/23 14:55
 */
@Data
public class AppZoneVO {

    private double[] foundation;
    private double[] ahs;
    private double[] address;
    private double[] fuel;
    private double[] busy;
    private double[] money;

    public static AppZoneVO fillNull(AppZoneVO vo) {
        int len = 7;
        if (vo.getFoundation() == null) vo.setFoundation(new double[len]);
        if (vo.getAhs() == null) vo.setAhs(new double[len]);
        if (vo.getAddress() == null) vo.setAddress(new double[len]);
        if (vo.getFuel() == null) vo.setFuel(new double[len]);
        if (vo.getBusy() == null) vo.setBusy(new double[len]);
        if (vo.getMoney() == null) vo.setMoney(new double[len]);
        return vo;
    }
}
